package com.koron.order.experiment.service;

import com.github.pagehelper.PageInfo;
import com.koron.bean.query.PageQuery;
import com.koron.order.experiment.bean.po.ExperimentEquipmentSignPo;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (ExperimentEquipmentSign)表服务接口
 *
 * @author zhouj
 * @since 2021-11-08 17:51:49
 */
public interface ExperimentEquipmentSignService {

    String insertOrUpdate(SessionFactory factory, ExperimentEquipmentSignPo experimentEquipmentSign);

    int insertOrUpdateBatch(SessionFactory factory, List<ExperimentEquipmentSignPo> experimentEquipmentSignList);

    int insert(SessionFactory factory, ExperimentEquipmentSignPo experimentEquipmentSign);

    int insertBatch(SessionFactory factory, List<ExperimentEquipmentSignPo> experimentEquipmentSignList);

    int update(SessionFactory factory, ExperimentEquipmentSignPo experimentEquipmentSign);

    int deleteById(SessionFactory factory, String id);

    ExperimentEquipmentSignPo queryById(SessionFactory factory, String id);

    List<ExperimentEquipmentSignPo> queryByExperimentEquipmentId(SessionFactory factory, String experimentEquipmentId);

    PageInfo queryPageList(SessionFactory factory, ExperimentEquipmentSignPo experimentEquipmentSign, PageQuery pageQuery);

    List<ExperimentEquipmentSignPo> queryList(SessionFactory factory, ExperimentEquipmentSignPo experimentEquipmentSign);

    int updateByExperimentEquipmentId(SessionFactory factory, ExperimentEquipmentSignPo signPo);

}
